// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #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.240405.15"), "Mismatched C++/WinRT headers."); #define CPPWINRT_VERSION "2.0.240405.15" #include "winrt/Windows.Networking.h" #include "winrt/impl/Windows.Data.Xml.Dom.2.h" #include "winrt/impl/Windows.Devices.Sms.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Networking.2.h" #include "winrt/impl/Windows.Networking.Connectivity.2.h" #include "winrt/impl/Windows.Storage.Streams.2.h" #include "winrt/impl/Windows.Networking.NetworkOperators.2.h" namespace winrt::impl { template auto consume_Windows_Networking_NetworkOperators_IESim::AvailableMemoryInBytes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->get_AvailableMemoryInBytes(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESim::Eid() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->get_Eid(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESim::FirmwareVersion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->get_FirmwareVersion(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESim::MobileBroadbandModemDeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->get_MobileBroadbandModemDeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESim::Policy() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->get_Policy(&value)); return winrt::Windows::Networking::NetworkOperators::ESimPolicy{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESim::State() const { winrt::Windows::Networking::NetworkOperators::ESimState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->get_State(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IESim::GetProfiles() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->GetProfiles(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESim::DeleteProfileAsync(param::hstring const& profileId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->DeleteProfileAsync(*(void**)(&profileId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESim::DownloadProfileMetadataAsync(param::hstring const& activationCode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->DownloadProfileMetadataAsync(*(void**)(&activationCode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESim::ResetAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->ResetAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESim::ProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->add_ProfileChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_Networking_NetworkOperators_IESim::ProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ProfileChanged(handler)); } template auto consume_Windows_Networking_NetworkOperators_IESim::ProfileChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->remove_ProfileChanged(impl::bind_in(token)); } template auto consume_Windows_Networking_NetworkOperators_IESim2::Discover() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim2)->Discover(&result)); return winrt::Windows::Networking::NetworkOperators::ESimDiscoverResult{ result, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESim2::Discover(param::hstring const& serverAddress, param::hstring const& matchingId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim2)->DiscoverWithServerAddressAndMatchingId(*(void**)(&serverAddress), *(void**)(&matchingId), &result)); return winrt::Windows::Networking::NetworkOperators::ESimDiscoverResult{ result, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESim2::DiscoverAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim2)->DiscoverAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESim2::DiscoverAsync(param::hstring const& serverAddress, param::hstring const& matchingId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim2)->DiscoverWithServerAddressAndMatchingIdAsync(*(void**)(&serverAddress), *(void**)(&matchingId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESim3::SlotIndex() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim3)->get_SlotIndex(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimAddedEventArgs::ESim() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimAddedEventArgs)->get_ESim(&value)); return winrt::Windows::Networking::NetworkOperators::ESim{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimDiscoverEvent::MatchingId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimDiscoverEvent)->get_MatchingId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimDiscoverEvent::RspServerAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimDiscoverEvent)->get_RspServerAddress(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimDiscoverResult::Events() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimDiscoverResult)->get_Events(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimDiscoverResult::Kind() const { winrt::Windows::Networking::NetworkOperators::ESimDiscoverResultKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimDiscoverResult)->get_Kind(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IESimDiscoverResult::ProfileMetadata() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimDiscoverResult)->get_ProfileMetadata(&value)); return winrt::Windows::Networking::NetworkOperators::ESimProfileMetadata{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimDiscoverResult::Result() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimDiscoverResult)->get_Result(&value)); return winrt::Windows::Networking::NetworkOperators::ESimOperationResult{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimDownloadProfileMetadataResult::Result() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimDownloadProfileMetadataResult)->get_Result(&value)); return winrt::Windows::Networking::NetworkOperators::ESimOperationResult{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimDownloadProfileMetadataResult::ProfileMetadata() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimDownloadProfileMetadataResult)->get_ProfileMetadata(&value)); return winrt::Windows::Networking::NetworkOperators::ESimProfileMetadata{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimManagerStatics::ServiceInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimManagerStatics)->get_ServiceInfo(&value)); return winrt::Windows::Networking::NetworkOperators::ESimServiceInfo{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimManagerStatics::TryCreateESimWatcher() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimManagerStatics)->TryCreateESimWatcher(&result)); return winrt::Windows::Networking::NetworkOperators::ESimWatcher{ result, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimManagerStatics::ServiceInfoChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimManagerStatics)->add_ServiceInfoChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_Networking_NetworkOperators_IESimManagerStatics::ServiceInfoChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, ServiceInfoChanged(handler)); } template auto consume_Windows_Networking_NetworkOperators_IESimManagerStatics::ServiceInfoChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimManagerStatics)->remove_ServiceInfoChanged(impl::bind_in(token)); } template auto consume_Windows_Networking_NetworkOperators_IESimOperationResult::Status() const { winrt::Windows::Networking::NetworkOperators::ESimOperationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimOperationResult)->get_Status(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IESimPolicy::ShouldEnableManagingUi() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimPolicy)->get_ShouldEnableManagingUi(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IESimProfile::Class() const { winrt::Windows::Networking::NetworkOperators::ESimProfileClass value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->get_Class(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IESimProfile::Nickname() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->get_Nickname(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimProfile::Policy() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->get_Policy(&value)); return winrt::Windows::Networking::NetworkOperators::ESimProfilePolicy{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimProfile::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimProfile::ProviderIcon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->get_ProviderIcon(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimProfile::ProviderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->get_ProviderId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimProfile::ProviderName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->get_ProviderName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimProfile::State() const { winrt::Windows::Networking::NetworkOperators::ESimProfileState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->get_State(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IESimProfile::DisableAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->DisableAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimProfile::EnableAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->EnableAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimProfile::SetNicknameAsync(param::hstring const& newNickname) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->SetNicknameAsync(*(void**)(&newNickname), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::IsConfirmationCodeRequired() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->get_IsConfirmationCodeRequired(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::Policy() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->get_Policy(&value)); return winrt::Windows::Networking::NetworkOperators::ESimProfilePolicy{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::ProviderIcon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->get_ProviderIcon(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::ProviderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->get_ProviderId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::ProviderName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->get_ProviderName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::State() const { winrt::Windows::Networking::NetworkOperators::ESimProfileMetadataState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->get_State(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::DenyInstallAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->DenyInstallAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::ConfirmInstallAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->ConfirmInstallAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::ConfirmInstallAsync(param::hstring const& confirmationCode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->ConfirmInstallWithConfirmationCodeAsync(*(void**)(&confirmationCode), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::PostponeInstallAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->PostponeInstallAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->add_StateChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StateChanged(handler)); } template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::StateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->remove_StateChanged(impl::bind_in(token)); } template auto consume_Windows_Networking_NetworkOperators_IESimProfilePolicy::CanDelete() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfilePolicy)->get_CanDelete(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IESimProfilePolicy::CanDisable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfilePolicy)->get_CanDisable(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IESimProfilePolicy::IsManagedByEnterprise() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfilePolicy)->get_IsManagedByEnterprise(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IESimRemovedEventArgs::ESim() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimRemovedEventArgs)->get_ESim(&value)); return winrt::Windows::Networking::NetworkOperators::ESim{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimServiceInfo::AuthenticationPreference() const { winrt::Windows::Networking::NetworkOperators::ESimAuthenticationPreference value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimServiceInfo)->get_AuthenticationPreference(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IESimServiceInfo::IsESimUiEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimServiceInfo)->get_IsESimUiEnabled(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IESimUpdatedEventArgs::ESim() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimUpdatedEventArgs)->get_ESim(&value)); return winrt::Windows::Networking::NetworkOperators::ESim{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Status() const { winrt::Windows::Networking::NetworkOperators::ESimWatcherStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->get_Status(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->Start()); } template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->Stop()); } template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->add_Added(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Added(handler)); } template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Added(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->remove_Added(impl::bind_in(token)); } template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->add_EnumerationCompleted(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EnumerationCompleted(handler)); } template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->remove_EnumerationCompleted(impl::bind_in(token)); } template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->add_Removed(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Removed(handler)); } template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Removed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->remove_Removed(impl::bind_in(token)); } template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->add_Stopped(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Stopped(handler)); } template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Stopped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->remove_Stopped(impl::bind_in(token)); } template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->add_Updated(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Updated(handler)); } template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Updated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->remove_Updated(impl::bind_in(token)); } template auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::WirelessNetworkId() const { uint32_t value_impl_size{}; uint8_t* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext)->get_WirelessNetworkId(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::NetworkAdapter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext)->get_NetworkAdapter(&value)); return winrt::Windows::Networking::Connectivity::NetworkAdapter{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::RedirectMessageUrl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext)->get_RedirectMessageUrl(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::RedirectMessageXml() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext)->get_RedirectMessageXml(&value)); return winrt::Windows::Data::Xml::Dom::XmlDocument{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::AuthenticationUrl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext)->get_AuthenticationUrl(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::IssueCredentials(param::hstring const& userName, param::hstring const& password, param::hstring const& extraParameters, bool markAsManualConnectOnFailure) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext)->IssueCredentials(*(void**)(&userName), *(void**)(&password), *(void**)(&extraParameters), markAsManualConnectOnFailure)); } template auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::AbortAuthentication(bool markAsManual) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext)->AbortAuthentication(markAsManual)); } template auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::SkipAuthentication() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext)->SkipAuthentication()); } template auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::TriggerAttentionRequired(param::hstring const& packageRelativeApplicationId, param::hstring const& applicationParameters) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext)->TriggerAttentionRequired(*(void**)(&packageRelativeApplicationId), *(void**)(&applicationParameters))); } template auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext2::IssueCredentialsAsync(param::hstring const& userName, param::hstring const& password, param::hstring const& extraParameters, bool markAsManualConnectOnFailure) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext2)->IssueCredentialsAsync(*(void**)(&userName), *(void**)(&password), *(void**)(&extraParameters), markAsManualConnectOnFailure, &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContextStatics::TryGetAuthenticationContext(param::hstring const& evenToken, winrt::Windows::Networking::NetworkOperators::HotspotAuthenticationContext& context) const { bool isValid{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContextStatics)->TryGetAuthenticationContext(*(void**)(&evenToken), impl::bind_out(context), &isValid)); return isValid; } template auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationEventDetails::EventToken() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationEventDetails)->get_EventToken(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IHotspotCredentialsAuthenticationResult::HasNetworkErrorOccurred() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotCredentialsAuthenticationResult)->get_HasNetworkErrorOccurred(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IHotspotCredentialsAuthenticationResult::ResponseCode() const { winrt::Windows::Networking::NetworkOperators::HotspotAuthenticationResponseCode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotCredentialsAuthenticationResult)->get_ResponseCode(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IHotspotCredentialsAuthenticationResult::LogoffUrl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotCredentialsAuthenticationResult)->get_LogoffUrl(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IHotspotCredentialsAuthenticationResult::AuthenticationReplyXml() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotCredentialsAuthenticationResult)->get_AuthenticationReplyXml(&value)); return winrt::Windows::Data::Xml::Dom::XmlDocument{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IKnownCSimFilePathsStatics::EFSpn() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownCSimFilePathsStatics)->get_EFSpn(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IKnownCSimFilePathsStatics::Gid1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownCSimFilePathsStatics)->get_Gid1(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IKnownCSimFilePathsStatics::Gid2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownCSimFilePathsStatics)->get_Gid2(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IKnownRuimFilePathsStatics::EFSpn() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownRuimFilePathsStatics)->get_EFSpn(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IKnownRuimFilePathsStatics::Gid1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownRuimFilePathsStatics)->get_Gid1(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IKnownRuimFilePathsStatics::Gid2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownRuimFilePathsStatics)->get_Gid2(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IKnownSimFilePathsStatics::EFOns() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownSimFilePathsStatics)->get_EFOns(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IKnownSimFilePathsStatics::EFSpn() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownSimFilePathsStatics)->get_EFSpn(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IKnownSimFilePathsStatics::Gid1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownSimFilePathsStatics)->get_Gid1(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IKnownSimFilePathsStatics::Gid2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownSimFilePathsStatics)->get_Gid2(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics::EFSpn() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownUSimFilePathsStatics)->get_EFSpn(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics::EFOpl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownUSimFilePathsStatics)->get_EFOpl(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics::EFPnn() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownUSimFilePathsStatics)->get_EFPnn(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics::Gid1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownUSimFilePathsStatics)->get_Gid1(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics::Gid2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownUSimFilePathsStatics)->get_Gid2(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount::NetworkAccountId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccount)->get_NetworkAccountId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount::ServiceProviderGuid() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccount)->get_ServiceProviderGuid(put_abi(value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount::ServiceProviderName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccount)->get_ServiceProviderName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount::CurrentNetwork() const { void* network{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccount)->get_CurrentNetwork(&network)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandNetwork{ network, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount::CurrentDeviceInformation() const { void* deviceInformation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccount)->get_CurrentDeviceInformation(&deviceInformation)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceInformation{ deviceInformation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount2::GetConnectionProfiles() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccount2)->GetConnectionProfiles(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount3::AccountExperienceUrl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccount3)->get_AccountExperienceUrl(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountEventArgs::NetworkAccountId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountEventArgs)->get_NetworkAccountId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountStatics::AvailableNetworkAccountIds() const { void* ppAccountIds{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountStatics)->get_AvailableNetworkAccountIds(&ppAccountIds)); return winrt::Windows::Foundation::Collections::IVectorView{ ppAccountIds, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountStatics::CreateFromNetworkAccountId(param::hstring const& networkAccountId) const { void* ppAccount{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountStatics)->CreateFromNetworkAccountId(*(void**)(&networkAccountId), &ppAccount)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccount{ ppAccount, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountUpdatedEventArgs::NetworkAccountId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountUpdatedEventArgs)->get_NetworkAccountId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountUpdatedEventArgs::HasDeviceInformationChanged() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountUpdatedEventArgs)->get_HasDeviceInformationChanged(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountUpdatedEventArgs::HasNetworkChanged() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountUpdatedEventArgs)->get_HasNetworkChanged(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->add_AccountAdded(*(void**)(&handler), put_abi(cookie))); return cookie; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AccountAdded(handler)); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountAdded(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->remove_AccountAdded(impl::bind_in(cookie)); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->add_AccountUpdated(*(void**)(&handler), put_abi(cookie))); return cookie; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AccountUpdated(handler)); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountUpdated(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->remove_AccountUpdated(impl::bind_in(cookie)); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->add_AccountRemoved(*(void**)(&handler), put_abi(cookie))); return cookie; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AccountRemoved(handler)); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountRemoved(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->remove_AccountRemoved(impl::bind_in(cookie)); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->add_EnumerationCompleted(*(void**)(&handler), put_abi(cookie))); return cookie; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EnumerationCompleted(handler)); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::EnumerationCompleted(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->remove_EnumerationCompleted(impl::bind_in(cookie)); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->add_Stopped(*(void**)(&handler), put_abi(cookie))); return cookie; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Stopped(handler)); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::Stopped(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->remove_Stopped(impl::bind_in(cookie)); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::Status() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcherStatus status{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->get_Status(reinterpret_cast(&status))); return status; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->Start()); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->Stop()); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAntennaSar::AntennaIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAntennaSar)->get_AntennaIndex(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAntennaSar::SarBackoffIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAntennaSar)->get_SarBackoffIndex(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAntennaSarFactory::CreateWithIndex(int32_t antennaIndex, int32_t sarBackoffIndex) const { void* antennaSar{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAntennaSarFactory)->CreateWithIndex(antennaIndex, sarBackoffIndex, &antennaSar)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandAntennaSar{ antennaSar, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma::BaseStationId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma)->get_BaseStationId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma::BaseStationPNCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma)->get_BaseStationPNCode(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma::BaseStationLatitude() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma)->get_BaseStationLatitude(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma::BaseStationLongitude() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma)->get_BaseStationLongitude(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma::BaseStationLastBroadcastGpsTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma)->get_BaseStationLastBroadcastGpsTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma::NetworkId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma)->get_NetworkId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma::PilotSignalStrengthInDB() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma)->get_PilotSignalStrengthInDB(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma::SystemId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma)->get_SystemId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm::BaseStationId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm)->get_BaseStationId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm::CellId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm)->get_CellId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm::ChannelNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm)->get_ChannelNumber(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm::LocationAreaCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm)->get_LocationAreaCode(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm::ProviderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm)->get_ProviderId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm::ReceivedSignalStrengthInDBm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm)->get_ReceivedSignalStrengthInDBm(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm::TimingAdvanceInBitPeriods() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm)->get_TimingAdvanceInBitPeriods(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte::CellId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte)->get_CellId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte::ChannelNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte)->get_ChannelNumber(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte::PhysicalCellId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte)->get_PhysicalCellId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte::ProviderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte)->get_ProviderId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte::ReferenceSignalReceivedPowerInDBm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte)->get_ReferenceSignalReceivedPowerInDBm(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte::ReferenceSignalReceivedQualityInDBm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte)->get_ReferenceSignalReceivedQualityInDBm(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte::TimingAdvanceInBitPeriods() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte)->get_TimingAdvanceInBitPeriods(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte::TrackingAreaCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte)->get_TrackingAreaCode(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::CellId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_CellId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::ChannelNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_ChannelNumber(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::PhysicalCellId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_PhysicalCellId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::ProviderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_ProviderId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::ReferenceSignalReceivedPowerInDBm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_ReferenceSignalReceivedPowerInDBm(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::ReferenceSignalReceivedQualityInDBm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_ReferenceSignalReceivedQualityInDBm(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::TimingAdvanceInNanoseconds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_TimingAdvanceInNanoseconds(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::TrackingAreaCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_TrackingAreaCode(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::SignalToNoiseRatioInDB() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_SignalToNoiseRatioInDB(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma::CellId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma)->get_CellId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma::CellParameterId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma)->get_CellParameterId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma::ChannelNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma)->get_ChannelNumber(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma::LocationAreaCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma)->get_LocationAreaCode(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma::PathLossInDB() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma)->get_PathLossInDB(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma::ProviderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma)->get_ProviderId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma::ReceivedSignalCodePowerInDBm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma)->get_ReceivedSignalCodePowerInDBm(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma::TimingAdvanceInBitPeriods() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma)->get_TimingAdvanceInBitPeriods(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts::CellId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts)->get_CellId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts::ChannelNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts)->get_ChannelNumber(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts::LocationAreaCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts)->get_LocationAreaCode(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts::PathLossInDB() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts)->get_PathLossInDB(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts::PrimaryScramblingCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts)->get_PrimaryScramblingCode(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts::ProviderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts)->get_ProviderId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts::ReceivedSignalCodePowerInDBm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts)->get_ReceivedSignalCodePowerInDBm(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts::SignalToNoiseRatioInDB() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts)->get_SignalToNoiseRatioInDB(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::NeighboringCellsCdma() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_NeighboringCellsCdma(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::NeighboringCellsGsm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_NeighboringCellsGsm(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::NeighboringCellsLte() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_NeighboringCellsLte(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::NeighboringCellsTdscdma() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_NeighboringCellsTdscdma(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::NeighboringCellsUmts() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_NeighboringCellsUmts(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::ServingCellsCdma() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_ServingCellsCdma(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::ServingCellsGsm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_ServingCellsGsm(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::ServingCellsLte() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_ServingCellsLte(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::ServingCellsTdscdma() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_ServingCellsTdscdma(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::ServingCellsUmts() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_ServingCellsUmts(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo2::NeighboringCellsNR() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo2)->get_NeighboringCellsNR(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo2::ServingCellsNR() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo2)->get_ServingCellsNR(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCurrentSlotIndexChangedEventArgs::CurrentSlotIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCurrentSlotIndexChangedEventArgs)->get_CurrentSlotIndex(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::NetworkDeviceStatus() const { winrt::Windows::Networking::NetworkOperators::NetworkDeviceStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_NetworkDeviceStatus(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::Manufacturer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_Manufacturer(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::Model() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_Model(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::FirmwareInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_FirmwareInformation(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::CellularClass() const { winrt::Windows::Devices::Sms::CellularClass value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_CellularClass(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::DataClasses() const { winrt::Windows::Networking::NetworkOperators::DataClasses value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_DataClasses(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::CustomDataClass() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_CustomDataClass(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::MobileEquipmentId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_MobileEquipmentId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::TelephoneNumbers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_TelephoneNumbers(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::SubscriberId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_SubscriberId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::SimIccId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_SimIccId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::DeviceType() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceType pDeviceType{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_DeviceType(reinterpret_cast(&pDeviceType))); return pDeviceType; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::CurrentRadioState() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandRadioState pCurrentState{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_CurrentRadioState(reinterpret_cast(&pCurrentState))); return pCurrentState; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation2::PinManager() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation2)->get_PinManager(&value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinManager{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation2::Revision() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation2)->get_Revision(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation2::SerialNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation2)->get_SerialNumber(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation3::SimSpn() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation3)->get_SimSpn(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation3::SimPnn() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation3)->get_SimPnn(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation3::SimGid1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation3)->get_SimGid1(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation4::SlotManager() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation4)->get_SlotManager(&value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService::DeviceServiceId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceService)->get_DeviceServiceId(put_abi(value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService::SupportedCommands() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceService)->get_SupportedCommands(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService::OpenDataSession() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceService)->OpenDataSession(&value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceDataSession{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService::OpenCommandSession() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceService)->OpenCommandSession(&value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceCommandSession{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandEventArgs::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandEventArgs)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandEventArgs::DeviceServiceId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandEventArgs)->get_DeviceServiceId(put_abi(value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandEventArgs::EventId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandEventArgs)->get_EventId(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandEventArgs::ReceivedData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandEventArgs)->get_ReceivedData(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandResult::StatusCode() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandResult)->get_StatusCode(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandResult::ResponseData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandResult)->get_ResponseData(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandSession::SendQueryCommandAsync(uint32_t commandId, winrt::Windows::Storage::Streams::IBuffer const& data) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandSession)->SendQueryCommandAsync(commandId, *(void**)(&data), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandSession::SendSetCommandAsync(uint32_t commandId, winrt::Windows::Storage::Streams::IBuffer const& data) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandSession)->SendSetCommandAsync(commandId, *(void**)(&data), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandSession::CloseSession() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandSession)->CloseSession()); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandSession2::CommandReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandSession2)->add_CommandReceived(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandSession2::CommandReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CommandReceived(handler)); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandSession2::CommandReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandSession2)->remove_CommandReceived(impl::bind_in(token)); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataReceivedEventArgs::ReceivedData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceDataReceivedEventArgs)->get_ReceivedData(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession::WriteDataAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceDataSession)->WriteDataAsync(*(void**)(&value), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession::CloseSession() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceDataSession)->CloseSession()); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession::DataReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceDataSession)->add_DataReceived(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession::DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, DataReceived(eventHandler)); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession::DataReceived(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceDataSession)->remove_DataReceived(impl::bind_in(eventCookie)); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceInformation::DeviceServiceId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceInformation)->get_DeviceServiceId(put_abi(value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceInformation::IsDataReadSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceInformation)->get_IsDataReadSupported(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceInformation::IsDataWriteSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceInformation)->get_IsDataWriteSupported(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceTriggerDetails::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceTriggerDetails)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceTriggerDetails::DeviceServiceId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceTriggerDetails)->get_DeviceServiceId(put_abi(value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceTriggerDetails::ReceivedData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceTriggerDetails)->get_ReceivedData(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceTriggerDetails2::EventId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceTriggerDetails2)->get_EventId(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::CurrentAccount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem)->get_CurrentAccount(&value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccount{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::DeviceInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem)->get_DeviceInformation(&value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceInformation{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::MaxDeviceServiceCommandSizeInBytes() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem)->get_MaxDeviceServiceCommandSizeInBytes(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::MaxDeviceServiceDataSizeInBytes() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem)->get_MaxDeviceServiceDataSizeInBytes(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::DeviceServices() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem)->get_DeviceServices(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::GetDeviceService(winrt::guid const& deviceServiceId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem)->GetDeviceService(impl::bind_in(deviceServiceId), &value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceService{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::IsResetSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem)->get_IsResetSupported(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::ResetAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem)->ResetAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::GetCurrentConfigurationAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem)->GetCurrentConfigurationAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::CurrentNetwork() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem)->get_CurrentNetwork(&value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandNetwork{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem2::GetIsPassthroughEnabledAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem2)->GetIsPassthroughEnabledAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem2::SetIsPassthroughEnabledAsync(bool value) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem2)->SetIsPassthroughEnabledAsync(value, &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3::TryGetPcoAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem3)->TryGetPcoAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3::IsInEmergencyCallMode() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem3)->get_IsInEmergencyCallMode(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3::IsInEmergencyCallModeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem3)->add_IsInEmergencyCallModeChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3::IsInEmergencyCallModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsInEmergencyCallModeChanged(handler)); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3::IsInEmergencyCallModeChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem3)->remove_IsInEmergencyCallModeChanged(impl::bind_in(token)); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem4::SetIsPassthroughEnabledAsync(bool value, int32_t slotindex) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem4)->SetIsPassthroughEnabledWithSlotIndexAsync(value, slotindex, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem4::GetIsPassthroughEnabledAsync(int32_t slotindex) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem4)->GetIsPassthroughEnabledWithSlotIndexAsync(slotindex, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem4::SetIsPassthroughEnabled(bool value, int32_t slotindex) const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemStatus result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem4)->SetIsPassthroughEnabledWithSlotIndex(value, slotindex, reinterpret_cast(&result))); return result; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem4::GetIsPassthroughEnabled(int32_t slotindex) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem4)->GetIsPassthroughEnabledWithSlotIndex(slotindex, &result)); return result; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration::Uicc() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemConfiguration)->get_Uicc(&value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandUicc{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration::HomeProviderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemConfiguration)->get_HomeProviderId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration::HomeProviderName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemConfiguration)->get_HomeProviderName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration2::SarManager() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemConfiguration2)->get_SarManager(&value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandSarManager{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolation::AddAllowedHost(winrt::Windows::Networking::HostName const& host) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemIsolation)->AddAllowedHost(*(void**)(&host))); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolation::AddAllowedHostRange(winrt::Windows::Networking::HostName const& first, winrt::Windows::Networking::HostName const& last) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemIsolation)->AddAllowedHostRange(*(void**)(&first), *(void**)(&last))); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolation::ApplyConfigurationAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemIsolation)->ApplyConfigurationAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolation::ClearConfigurationAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemIsolation)->ClearConfigurationAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolationFactory::Create(param::hstring const& modemDeviceId, param::hstring const& ruleGroupId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemIsolationFactory)->Create(*(void**)(&modemDeviceId), *(void**)(&ruleGroupId), &result)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemIsolation{ result, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemStatics::GetDeviceSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemStatics)->GetDeviceSelector(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemStatics::FromId(param::hstring const& deviceId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemStatics)->FromId(*(void**)(&deviceId), &value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandModem{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemStatics::GetDefault() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemStatics)->GetDefault(&value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandModem{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::NetworkAdapter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->get_NetworkAdapter(&value)); return winrt::Windows::Networking::Connectivity::NetworkAdapter{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::NetworkRegistrationState() const { winrt::Windows::Networking::NetworkOperators::NetworkRegistrationState registrationState{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->get_NetworkRegistrationState(reinterpret_cast(®istrationState))); return registrationState; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::RegistrationNetworkError() const { uint32_t networkError{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->get_RegistrationNetworkError(&networkError)); return networkError; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::PacketAttachNetworkError() const { uint32_t networkError{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->get_PacketAttachNetworkError(&networkError)); return networkError; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::ActivationNetworkError() const { uint32_t networkError{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->get_ActivationNetworkError(&networkError)); return networkError; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::AccessPointName() const { void* apn{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->get_AccessPointName(&apn)); return hstring{ apn, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::RegisteredDataClass() const { winrt::Windows::Networking::NetworkOperators::DataClasses value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->get_RegisteredDataClass(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::RegisteredProviderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->get_RegisteredProviderId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::RegisteredProviderName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->get_RegisteredProviderName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::ShowConnectionUI() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->ShowConnectionUI()); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork2::GetVoiceCallSupportAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork2)->GetVoiceCallSupportAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork2::RegistrationUiccApps() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork2)->get_RegistrationUiccApps(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork3::GetCellsInfoAsync() const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork3)->GetCellsInfoAsync(&asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetworkRegistrationStateChange::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetworkRegistrationStateChange)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetworkRegistrationStateChange::Network() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetworkRegistrationStateChange)->get_Network(&value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandNetwork{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails::NetworkRegistrationStateChanges() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails)->get_NetworkRegistrationStateChanges(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPco::Data() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPco)->get_Data(&result)); return winrt::Windows::Storage::Streams::IBuffer{ result, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPco::IsComplete() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPco)->get_IsComplete(&result)); return result; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPco::DeviceId() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPco)->get_DeviceId(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPcoDataChangeTriggerDetails::UpdatedData() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPcoDataChangeTriggerDetails)->get_UpdatedData(&result)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandPco{ result, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::Type() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->get_Type(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::LockState() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinLockState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->get_LockState(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::Format() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->get_Format(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::Enabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->get_Enabled(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::MaxLength() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->get_MaxLength(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::MinLength() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->get_MinLength(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::AttemptsRemaining() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->get_AttemptsRemaining(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::EnableAsync(param::hstring const& currentPin) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->EnableAsync(*(void**)(¤tPin), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::DisableAsync(param::hstring const& currentPin) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->DisableAsync(*(void**)(¤tPin), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::EnterAsync(param::hstring const& currentPin) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->EnterAsync(*(void**)(¤tPin), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::ChangeAsync(param::hstring const& currentPin, param::hstring const& newPin) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->ChangeAsync(*(void**)(¤tPin), *(void**)(&newPin), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::UnblockAsync(param::hstring const& pinUnblockKey, param::hstring const& newPin) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->UnblockAsync(*(void**)(&pinUnblockKey), *(void**)(&newPin), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChange::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinLockStateChange)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChange::PinType() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinLockStateChange)->get_PinType(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChange::PinLockState() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinLockState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinLockStateChange)->get_PinLockState(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChangeTriggerDetails::PinLockStateChanges() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinLockStateChangeTriggerDetails)->get_PinLockStateChanges(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinManager::SupportedPins() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinManager)->get_SupportedPins(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinManager::GetPin(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinType const& pinType) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinManager)->GetPin(static_cast(pinType), &value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandPin{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinOperationResult::IsSuccessful() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinOperationResult)->get_IsSuccessful(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinOperationResult::AttemptsRemaining() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinOperationResult)->get_AttemptsRemaining(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandRadioStateChange::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChange)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandRadioStateChange::RadioState() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandRadioState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChange)->get_RadioState(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandRadioStateChangeTriggerDetails::RadioStateChanges() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChangeTriggerDetails)->get_RadioStateChanges(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::IsBackoffEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->get_IsBackoffEnabled(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::IsWiFiHardwareIntegrated() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->get_IsWiFiHardwareIntegrated(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::IsSarControlledByHardware() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->get_IsSarControlledByHardware(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::Antennas() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->get_Antennas(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::HysteresisTimerPeriod() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->get_HysteresisTimerPeriod(put_abi(value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::TransmissionStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->add_TransmissionStateChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::TransmissionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TransmissionStateChanged(handler)); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::TransmissionStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->remove_TransmissionStateChanged(impl::bind_in(token)); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::EnableBackoffAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->EnableBackoffAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::DisableBackoffAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->DisableBackoffAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::SetConfigurationAsync(param::async_iterable const& antennas) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->SetConfigurationAsync(*(void**)(&antennas), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::RevertSarToHardwareControlAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->RevertSarToHardwareControlAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::SetTransmissionStateChangedHysteresisAsync(winrt::Windows::Foundation::TimeSpan const& timerPeriod) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->SetTransmissionStateChangedHysteresisAsync(impl::bind_in(timerPeriod), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::GetIsTransmittingAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->GetIsTransmittingAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::StartTransmissionStateMonitoring() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->StartTransmissionStateMonitoring()); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::StopTransmissionStateMonitoring() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->StopTransmissionStateMonitoring()); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfo::Index() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo)->get_Index(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfo::State() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo)->get_State(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfo2::IccId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo2)->get_IccId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfoChangedEventArgs::SlotInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfoChangedEventArgs)->get_SlotInfo(&value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfo{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SlotInfos() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->get_SlotInfos(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::CurrentSlotIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->get_CurrentSlotIndex(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SetCurrentSlot(int32_t slotIndex) const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemStatus result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->SetCurrentSlot(slotIndex, reinterpret_cast(&result))); return result; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SetCurrentSlotAsync(int32_t slotIndex) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->SetCurrentSlotAsync(slotIndex, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SlotInfoChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->add_SlotInfoChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SlotInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SlotInfoChanged(handler)); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SlotInfoChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->remove_SlotInfoChanged(impl::bind_in(token)); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::CurrentSlotIndexChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->add_CurrentSlotIndexChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::CurrentSlotIndexChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CurrentSlotIndexChanged(handler)); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::CurrentSlotIndexChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->remove_CurrentSlotIndexChanged(impl::bind_in(token)); } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandTransmissionStateChangedEventArgs::IsTransmitting() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandTransmissionStateChangedEventArgs)->get_IsTransmitting(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUicc::SimIccId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUicc)->get_SimIccId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUicc::GetUiccAppsAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUicc)->GetUiccAppsAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccApp::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccApp)->get_Id(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccApp::Kind() const { winrt::Windows::Networking::NetworkOperators::UiccAppKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccApp)->get_Kind(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccApp::GetRecordDetailsAsync(param::async_iterable const& uiccFilePath) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccApp)->GetRecordDetailsAsync(*(void**)(&uiccFilePath), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccApp::ReadRecordAsync(param::async_iterable const& uiccFilePath, int32_t recordIndex) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccApp)->ReadRecordAsync(*(void**)(&uiccFilePath), recordIndex, &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppReadRecordResult::Status() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppOperationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppReadRecordResult)->get_Status(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppReadRecordResult::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppReadRecordResult)->get_Data(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult::Status() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppOperationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppRecordDetailsResult)->get_Status(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult::Kind() const { winrt::Windows::Networking::NetworkOperators::UiccAppRecordKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppRecordDetailsResult)->get_Kind(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult::RecordCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppRecordDetailsResult)->get_RecordCount(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult::RecordSize() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppRecordDetailsResult)->get_RecordSize(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult::ReadAccessCondition() const { winrt::Windows::Networking::NetworkOperators::UiccAccessCondition value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppRecordDetailsResult)->get_ReadAccessCondition(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult::WriteAccessCondition() const { winrt::Windows::Networking::NetworkOperators::UiccAccessCondition value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppRecordDetailsResult)->get_WriteAccessCondition(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppsResult::Status() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppOperationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppsResult)->get_Status(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppsResult::UiccApps() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppsResult)->get_UiccApps(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorDataUsageTriggerDetails::NotificationKind() const { winrt::Windows::Networking::NetworkOperators::NetworkOperatorDataUsageNotificationKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorDataUsageTriggerDetails)->get_NotificationKind(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails::NotificationType() const { winrt::Windows::Networking::NetworkOperators::NetworkOperatorEventMessageType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorNotificationEventDetails)->get_NotificationType(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails::NetworkAccountId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorNotificationEventDetails)->get_NetworkAccountId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails::EncodingType() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorNotificationEventDetails)->get_EncodingType(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorNotificationEventDetails)->get_Message(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails::RuleId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorNotificationEventDetails)->get_RuleId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails::SmsMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorNotificationEventDetails)->get_SmsMessage(&value)); return winrt::Windows::Devices::Sms::ISmsMessage{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration::Ssid() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration)->get_Ssid(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration::Ssid(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration)->put_Ssid(*(void**)(&value))); } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration::Passphrase() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration)->get_Passphrase(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration::Passphrase(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration)->put_Passphrase(*(void**)(&value))); } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration2::IsBandSupported(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& band) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration2)->IsBandSupported(static_cast(band), &result)); return result; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration2::IsBandSupportedAsync(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& band) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration2)->IsBandSupportedAsync(static_cast(band), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration2::Band() const { winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration2)->get_Band(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration2::Band(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration2)->put_Band(static_cast(value))); } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration3::IsAuthenticationKindSupported(winrt::Windows::Networking::NetworkOperators::TetheringWiFiAuthenticationKind const& authenticationKind) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration3)->IsAuthenticationKindSupported(static_cast(authenticationKind), &result)); return result; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration3::IsAuthenticationKindSupportedAsync(winrt::Windows::Networking::NetworkOperators::TetheringWiFiAuthenticationKind const& authenticationKind) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration3)->IsAuthenticationKindSupportedAsync(static_cast(authenticationKind), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration3::AuthenticationKind() const { winrt::Windows::Networking::NetworkOperators::TetheringWiFiAuthenticationKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration3)->get_AuthenticationKind(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration3::AuthenticationKind(winrt::Windows::Networking::NetworkOperators::TetheringWiFiAuthenticationKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration3)->put_AuthenticationKind(static_cast(value))); } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringClient::MacAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringClient)->get_MacAddress(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringClient::HostNames() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringClient)->get_HostNames(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringClientManager::GetTetheringClients() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringClientManager)->GetTetheringClients(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringEntitlementCheck::AuthorizeTethering(bool allow, param::hstring const& entitlementFailureReason) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringEntitlementCheck)->AuthorizeTethering(allow, *(void**)(&entitlementFailureReason))); } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager::MaxClientCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManager)->get_MaxClientCount(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager::ClientCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManager)->get_ClientCount(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager::TetheringOperationalState() const { winrt::Windows::Networking::NetworkOperators::TetheringOperationalState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManager)->get_TetheringOperationalState(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager::GetCurrentAccessPointConfiguration() const { void* configuration{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManager)->GetCurrentAccessPointConfiguration(&configuration)); return winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringAccessPointConfiguration{ configuration, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager::ConfigureAccessPointAsync(winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringAccessPointConfiguration const& configuration) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManager)->ConfigureAccessPointAsync(*(void**)(&configuration), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager::StartTetheringAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManager)->StartTetheringAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager::StopTetheringAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManager)->StopTetheringAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager2::StartTetheringAsync(winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringSessionAccessPointConfiguration const& configuration) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManager2)->StartTetheringAsync(*(void**)(&configuration), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics::GetTetheringCapability(param::hstring const& networkAccountId) const { winrt::Windows::Networking::NetworkOperators::TetheringCapability value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics)->GetTetheringCapability(*(void**)(&networkAccountId), reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics::CreateFromNetworkAccountId(param::hstring const& networkAccountId) const { void* ppManager{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics)->CreateFromNetworkAccountId(*(void**)(&networkAccountId), &ppManager)); return winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringManager{ ppManager, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics2::GetTetheringCapabilityFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile) const { winrt::Windows::Networking::NetworkOperators::TetheringCapability result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics2)->GetTetheringCapabilityFromConnectionProfile(*(void**)(&profile), reinterpret_cast(&result))); return result; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics2::CreateFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile) const { void* ppManager{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics2)->CreateFromConnectionProfile(*(void**)(&profile), &ppManager)); return winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringManager{ ppManager, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics3::CreateFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const { void* ppManager{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics3)->CreateFromConnectionProfileWithTargetAdapter(*(void**)(&profile), *(void**)(&adapter), &ppManager)); return winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringManager{ ppManager, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4::IsNoConnectionsTimeoutEnabled() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics4)->IsNoConnectionsTimeoutEnabled(&result)); return result; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4::EnableNoConnectionsTimeout() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics4)->EnableNoConnectionsTimeout()); } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4::EnableNoConnectionsTimeoutAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics4)->EnableNoConnectionsTimeoutAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4::DisableNoConnectionsTimeout() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics4)->DisableNoConnectionsTimeout()); } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4::DisableNoConnectionsTimeoutAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics4)->DisableNoConnectionsTimeoutAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringOperationResult::Status() const { winrt::Windows::Networking::NetworkOperators::TetheringOperationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringOperationResult)->get_Status(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringOperationResult::AdditionalErrorMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringOperationResult)->get_AdditionalErrorMessage(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringSessionAccessPointConfiguration::Ssid() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringSessionAccessPointConfiguration)->get_Ssid(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringSessionAccessPointConfiguration::Ssid(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringSessionAccessPointConfiguration)->put_Ssid(*(void**)(&value))); } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringSessionAccessPointConfiguration::Passphrase() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringSessionAccessPointConfiguration)->get_Passphrase(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringSessionAccessPointConfiguration::Passphrase(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringSessionAccessPointConfiguration)->put_Passphrase(*(void**)(&value))); } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringSessionAccessPointConfiguration::IsBandSupported(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& band) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringSessionAccessPointConfiguration)->IsBandSupported(static_cast(band), &result)); return result; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringSessionAccessPointConfiguration::IsBandSupportedAsync(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& band) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringSessionAccessPointConfiguration)->IsBandSupportedAsync(static_cast(band), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringSessionAccessPointConfiguration::Band() const { winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringSessionAccessPointConfiguration)->get_Band(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringSessionAccessPointConfiguration::Band(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringSessionAccessPointConfiguration)->put_Band(static_cast(value))); } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringSessionAccessPointConfiguration::IsAuthenticationKindSupported(winrt::Windows::Networking::NetworkOperators::TetheringWiFiAuthenticationKind const& authenticationKind) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringSessionAccessPointConfiguration)->IsAuthenticationKindSupported(static_cast(authenticationKind), &result)); return result; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringSessionAccessPointConfiguration::IsAuthenticationKindSupportedAsync(winrt::Windows::Networking::NetworkOperators::TetheringWiFiAuthenticationKind const& authenticationKind) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringSessionAccessPointConfiguration)->IsAuthenticationKindSupportedAsync(static_cast(authenticationKind), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringSessionAccessPointConfiguration::AuthenticationKind() const { winrt::Windows::Networking::NetworkOperators::TetheringWiFiAuthenticationKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringSessionAccessPointConfiguration)->get_AuthenticationKind(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringSessionAccessPointConfiguration::AuthenticationKind(winrt::Windows::Networking::NetworkOperators::TetheringWiFiAuthenticationKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringSessionAccessPointConfiguration)->put_AuthenticationKind(static_cast(value))); } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringSessionAccessPointConfiguration::PerformancePriority() const { winrt::Windows::Networking::NetworkOperators::TetheringWiFiPerformancePriority value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringSessionAccessPointConfiguration)->get_PerformancePriority(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringSessionAccessPointConfiguration::PerformancePriority(winrt::Windows::Networking::NetworkOperators::TetheringWiFiPerformancePriority const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringSessionAccessPointConfiguration)->put_PerformancePriority(static_cast(value))); } template auto consume_Windows_Networking_NetworkOperators_IProvisionFromXmlDocumentResults::AllElementsProvisioned() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IProvisionFromXmlDocumentResults)->get_AllElementsProvisioned(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IProvisionFromXmlDocumentResults::ProvisionResultsXml() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IProvisionFromXmlDocumentResults)->get_ProvisionResultsXml(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IProvisionedProfile::UpdateCost(winrt::Windows::Networking::Connectivity::NetworkCostType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IProvisionedProfile)->UpdateCost(static_cast(value))); } template auto consume_Windows_Networking_NetworkOperators_IProvisionedProfile::UpdateUsage(winrt::Windows::Networking::NetworkOperators::ProfileUsage const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IProvisionedProfile)->UpdateUsage(impl::bind_in(value))); } template auto consume_Windows_Networking_NetworkOperators_IProvisioningAgent::ProvisionFromXmlDocumentAsync(param::hstring const& provisioningXmlDocument) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IProvisioningAgent)->ProvisionFromXmlDocumentAsync(*(void**)(&provisioningXmlDocument), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IProvisioningAgent::GetProvisionedProfile(winrt::Windows::Networking::NetworkOperators::ProfileMediaType const& mediaType, param::hstring const& profileName) const { void* provisionedProfile{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IProvisioningAgent)->GetProvisionedProfile(static_cast(mediaType), *(void**)(&profileName), &provisionedProfile)); return winrt::Windows::Networking::NetworkOperators::ProvisionedProfile{ provisionedProfile, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IProvisioningAgentStaticMethods::CreateFromNetworkAccountId(param::hstring const& networkAccountId) const { void* provisioningAgent{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IProvisioningAgentStaticMethods)->CreateFromNetworkAccountId(*(void**)(&networkAccountId), &provisioningAgent)); return winrt::Windows::Networking::NetworkOperators::ProvisioningAgent{ provisioningAgent, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_ITetheringEntitlementCheckTriggerDetails::NetworkAccountId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::ITetheringEntitlementCheckTriggerDetails)->get_NetworkAccountId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_ITetheringEntitlementCheckTriggerDetails::AllowTethering() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::ITetheringEntitlementCheckTriggerDetails)->AllowTethering()); } template auto consume_Windows_Networking_NetworkOperators_ITetheringEntitlementCheckTriggerDetails::DenyTethering(param::hstring const& entitlementFailureReason) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::ITetheringEntitlementCheckTriggerDetails)->DenyTethering(*(void**)(&entitlementFailureReason))); } template auto consume_Windows_Networking_NetworkOperators_IUssdMessage::DataCodingScheme() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdMessage)->get_DataCodingScheme(&value)); return value; } template auto consume_Windows_Networking_NetworkOperators_IUssdMessage::DataCodingScheme(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdMessage)->put_DataCodingScheme(value)); } template auto consume_Windows_Networking_NetworkOperators_IUssdMessage::GetPayload() const { uint32_t value_impl_size{}; uint8_t* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdMessage)->GetPayload(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IUssdMessage::SetPayload(array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdMessage)->SetPayload(value.size(), get_abi(value))); } template auto consume_Windows_Networking_NetworkOperators_IUssdMessage::PayloadAsText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdMessage)->get_PayloadAsText(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IUssdMessage::PayloadAsText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdMessage)->put_PayloadAsText(*(void**)(&value))); } template auto consume_Windows_Networking_NetworkOperators_IUssdMessageFactory::CreateMessage(param::hstring const& messageText) const { void* ussdMessage{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdMessageFactory)->CreateMessage(*(void**)(&messageText), &ussdMessage)); return winrt::Windows::Networking::NetworkOperators::UssdMessage{ ussdMessage, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IUssdReply::ResultCode() const { winrt::Windows::Networking::NetworkOperators::UssdResultCode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdReply)->get_ResultCode(reinterpret_cast(&value))); return value; } template auto consume_Windows_Networking_NetworkOperators_IUssdReply::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdReply)->get_Message(&value)); return winrt::Windows::Networking::NetworkOperators::UssdMessage{ value, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IUssdSession::SendMessageAndGetReplyAsync(winrt::Windows::Networking::NetworkOperators::UssdMessage const& message) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdSession)->SendMessageAndGetReplyAsync(*(void**)(&message), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IUssdSession::Close() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdSession)->Close()); } template auto consume_Windows_Networking_NetworkOperators_IUssdSessionStatics::CreateFromNetworkAccountId(param::hstring const& networkAccountId) const { void* ussdSession{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdSessionStatics)->CreateFromNetworkAccountId(*(void**)(&networkAccountId), &ussdSession)); return winrt::Windows::Networking::NetworkOperators::UssdSession{ ussdSession, take_ownership_from_abi }; } template auto consume_Windows_Networking_NetworkOperators_IUssdSessionStatics::CreateFromNetworkInterfaceId(param::hstring const& networkInterfaceId) const { void* ussdSession{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdSessionStatics)->CreateFromNetworkInterfaceId(*(void**)(&networkInterfaceId), &ussdSession)); return winrt::Windows::Networking::NetworkOperators::UssdSession{ ussdSession, take_ownership_from_abi }; } #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AvailableMemoryInBytes(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().AvailableMemoryInBytes()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Eid(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Eid()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirmwareVersion(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirmwareVersion()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MobileBroadbandModemDeviceId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MobileBroadbandModemDeviceId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Policy(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Policy()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_State(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().State()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetProfiles(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from>(this->shim().GetProfiles()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall DeleteProfileAsync(void* profileId, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().DeleteProfileAsync(*reinterpret_cast(&profileId))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall DownloadProfileMetadataAsync(void* activationCode, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().DownloadProfileMetadataAsync(*reinterpret_cast(&activationCode))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ResetAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().ResetAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_ProfileChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ProfileChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ProfileChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ProfileChanged(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Discover(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Discover()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall DiscoverWithServerAddressAndMatchingId(void* serverAddress, void* matchingId, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Discover(*reinterpret_cast(&serverAddress), *reinterpret_cast(&matchingId))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall DiscoverAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().DiscoverAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall DiscoverWithServerAddressAndMatchingIdAsync(void* serverAddress, void* matchingId, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().DiscoverAsync(*reinterpret_cast(&serverAddress), *reinterpret_cast(&matchingId))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SlotIndex(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().SlotIndex()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ESim(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ESim()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MatchingId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MatchingId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RspServerAddress(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RspServerAddress()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Events(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Events()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Kind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Kind()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ProfileMetadata(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProfileMetadata()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Result(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Result()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Result(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Result()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ProfileMetadata(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProfileMetadata()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ServiceInfo(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ServiceInfo()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryCreateESimWatcher(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryCreateESimWatcher()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_ServiceInfoChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ServiceInfoChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ServiceInfoChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ServiceInfoChanged(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Status(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Status()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ShouldEnableManagingUi(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShouldEnableManagingUi()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Class(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Class()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Nickname(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Nickname()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Policy(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Policy()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Id(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Id()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ProviderIcon(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProviderIcon()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ProviderId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProviderId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ProviderName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProviderName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_State(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().State()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall DisableAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().DisableAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall EnableAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().EnableAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetNicknameAsync(void* newNickname, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().SetNicknameAsync(*reinterpret_cast(&newNickname))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsConfirmationCodeRequired(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsConfirmationCodeRequired()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Policy(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Policy()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Id(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Id()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ProviderIcon(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProviderIcon()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ProviderId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProviderId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ProviderName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProviderName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_State(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().State()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall DenyInstallAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().DenyInstallAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ConfirmInstallAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().ConfirmInstallAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ConfirmInstallWithConfirmationCodeAsync(void* confirmationCode, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().ConfirmInstallAsync(*reinterpret_cast(&confirmationCode))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall PostponeInstallAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().PostponeInstallAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_StateChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().StateChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_StateChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().StateChanged(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CanDelete(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanDelete()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanDisable(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanDisable()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsManagedByEnterprise(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsManagedByEnterprise()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ESim(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ESim()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AuthenticationPreference(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AuthenticationPreference()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsESimUiEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsESimUiEnabled()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ESim(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ESim()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Status(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Status()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Start() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Start(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Stop() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Stop(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_Added(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Added(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Added(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Added(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_EnumerationCompleted(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().EnumerationCompleted(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_EnumerationCompleted(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().EnumerationCompleted(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_Removed(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Removed(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Removed(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Removed(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_Stopped(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Stopped(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Stopped(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Stopped(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_Updated(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Updated(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Updated(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Updated(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_WirelessNetworkId(uint32_t* __valueSize, uint8_t** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); std::tie(*__valueSize, *value) = detach_abi(this->shim().WirelessNetworkId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NetworkAdapter(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NetworkAdapter()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RedirectMessageUrl(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RedirectMessageUrl()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RedirectMessageXml(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RedirectMessageXml()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AuthenticationUrl(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AuthenticationUrl()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IssueCredentials(void* userName, void* password, void* extraParameters, bool markAsManualConnectOnFailure) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IssueCredentials(*reinterpret_cast(&userName), *reinterpret_cast(&password), *reinterpret_cast(&extraParameters), markAsManualConnectOnFailure); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall AbortAuthentication(bool markAsManual) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AbortAuthentication(markAsManual); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SkipAuthentication() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SkipAuthentication(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TriggerAttentionRequired(void* packageRelativeApplicationId, void* applicationParameters) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TriggerAttentionRequired(*reinterpret_cast(&packageRelativeApplicationId), *reinterpret_cast(&applicationParameters)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall IssueCredentialsAsync(void* userName, void* password, void* extraParameters, bool markAsManualConnectOnFailure, void** asyncInfo) noexcept final try { clear_abi(asyncInfo); typename D::abi_guard guard(this->shim()); *asyncInfo = detach_from>(this->shim().IssueCredentialsAsync(*reinterpret_cast(&userName), *reinterpret_cast(&password), *reinterpret_cast(&extraParameters), markAsManualConnectOnFailure)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall TryGetAuthenticationContext(void* evenToken, void** context, bool* isValid) noexcept final try { clear_abi(context); typename D::abi_guard guard(this->shim()); *isValid = detach_from(this->shim().TryGetAuthenticationContext(*reinterpret_cast(&evenToken), *reinterpret_cast(context))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_EventToken(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EventToken()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_HasNetworkErrorOccurred(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HasNetworkErrorOccurred()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ResponseCode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ResponseCode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LogoffUrl(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LogoffUrl()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AuthenticationReplyXml(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AuthenticationReplyXml()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_EFSpn(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().EFSpn()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Gid1(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Gid1()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Gid2(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Gid2()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_EFSpn(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().EFSpn()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Gid1(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Gid1()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Gid2(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Gid2()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_EFOns(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().EFOns()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EFSpn(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().EFSpn()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Gid1(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Gid1()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Gid2(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Gid2()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_EFSpn(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().EFSpn()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EFOpl(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().EFOpl()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EFPnn(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().EFPnn()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Gid1(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Gid1()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Gid2(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Gid2()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_NetworkAccountId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NetworkAccountId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ServiceProviderGuid(winrt::guid* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ServiceProviderGuid()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ServiceProviderName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ServiceProviderName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CurrentNetwork(void** network) noexcept final try { clear_abi(network); typename D::abi_guard guard(this->shim()); *network = detach_from(this->shim().CurrentNetwork()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CurrentDeviceInformation(void** deviceInformation) noexcept final try { clear_abi(deviceInformation); typename D::abi_guard guard(this->shim()); *deviceInformation = detach_from(this->shim().CurrentDeviceInformation()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall GetConnectionProfiles(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().GetConnectionProfiles()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AccountExperienceUrl(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AccountExperienceUrl()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_NetworkAccountId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NetworkAccountId()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AvailableNetworkAccountIds(void** ppAccountIds) noexcept final try { clear_abi(ppAccountIds); typename D::abi_guard guard(this->shim()); *ppAccountIds = detach_from>(this->shim().AvailableNetworkAccountIds()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFromNetworkAccountId(void* networkAccountId, void** ppAccount) noexcept final try { clear_abi(ppAccount); typename D::abi_guard guard(this->shim()); *ppAccount = detach_from(this->shim().CreateFromNetworkAccountId(*reinterpret_cast(&networkAccountId))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_NetworkAccountId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NetworkAccountId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HasDeviceInformationChanged(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HasDeviceInformationChanged()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HasNetworkChanged(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HasNetworkChanged()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall add_AccountAdded(void* handler, winrt::event_token* cookie) noexcept final try { zero_abi(cookie); typename D::abi_guard guard(this->shim()); *cookie = detach_from(this->shim().AccountAdded(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_AccountAdded(winrt::event_token cookie) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().AccountAdded(*reinterpret_cast(&cookie)); return 0; } int32_t __stdcall add_AccountUpdated(void* handler, winrt::event_token* cookie) noexcept final try { zero_abi(cookie); typename D::abi_guard guard(this->shim()); *cookie = detach_from(this->shim().AccountUpdated(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_AccountUpdated(winrt::event_token cookie) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().AccountUpdated(*reinterpret_cast(&cookie)); return 0; } int32_t __stdcall add_AccountRemoved(void* handler, winrt::event_token* cookie) noexcept final try { zero_abi(cookie); typename D::abi_guard guard(this->shim()); *cookie = detach_from(this->shim().AccountRemoved(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_AccountRemoved(winrt::event_token cookie) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().AccountRemoved(*reinterpret_cast(&cookie)); return 0; } int32_t __stdcall add_EnumerationCompleted(void* handler, winrt::event_token* cookie) noexcept final try { zero_abi(cookie); typename D::abi_guard guard(this->shim()); *cookie = detach_from(this->shim().EnumerationCompleted(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_EnumerationCompleted(winrt::event_token cookie) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().EnumerationCompleted(*reinterpret_cast(&cookie)); return 0; } int32_t __stdcall add_Stopped(void* handler, winrt::event_token* cookie) noexcept final try { zero_abi(cookie); typename D::abi_guard guard(this->shim()); *cookie = detach_from(this->shim().Stopped(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Stopped(winrt::event_token cookie) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Stopped(*reinterpret_cast(&cookie)); return 0; } int32_t __stdcall get_Status(int32_t* status) noexcept final try { typename D::abi_guard guard(this->shim()); *status = detach_from(this->shim().Status()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Start() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Start(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Stop() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Stop(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AntennaIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AntennaIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SarBackoffIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SarBackoffIndex()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateWithIndex(int32_t antennaIndex, int32_t sarBackoffIndex, void** antennaSar) noexcept final try { clear_abi(antennaSar); typename D::abi_guard guard(this->shim()); *antennaSar = detach_from(this->shim().CreateWithIndex(antennaIndex, sarBackoffIndex)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_BaseStationId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().BaseStationId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BaseStationPNCode(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().BaseStationPNCode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BaseStationLatitude(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().BaseStationLatitude()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BaseStationLongitude(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().BaseStationLongitude()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BaseStationLastBroadcastGpsTime(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().BaseStationLastBroadcastGpsTime()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NetworkId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().NetworkId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PilotSignalStrengthInDB(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().PilotSignalStrengthInDB()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SystemId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().SystemId()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_BaseStationId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().BaseStationId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CellId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().CellId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ChannelNumber(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().ChannelNumber()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LocationAreaCode(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().LocationAreaCode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ProviderId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProviderId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ReceivedSignalStrengthInDBm(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().ReceivedSignalStrengthInDBm()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TimingAdvanceInBitPeriods(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().TimingAdvanceInBitPeriods()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CellId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().CellId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ChannelNumber(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().ChannelNumber()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PhysicalCellId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().PhysicalCellId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ProviderId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProviderId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ReferenceSignalReceivedPowerInDBm(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().ReferenceSignalReceivedPowerInDBm()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ReferenceSignalReceivedQualityInDBm(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().ReferenceSignalReceivedQualityInDBm()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TimingAdvanceInBitPeriods(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().TimingAdvanceInBitPeriods()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TrackingAreaCode(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().TrackingAreaCode()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CellId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().CellId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ChannelNumber(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().ChannelNumber()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PhysicalCellId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().PhysicalCellId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ProviderId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProviderId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ReferenceSignalReceivedPowerInDBm(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().ReferenceSignalReceivedPowerInDBm()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ReferenceSignalReceivedQualityInDBm(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().ReferenceSignalReceivedQualityInDBm()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TimingAdvanceInNanoseconds(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().TimingAdvanceInNanoseconds()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TrackingAreaCode(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().TrackingAreaCode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SignalToNoiseRatioInDB(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().SignalToNoiseRatioInDB()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CellId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().CellId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CellParameterId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().CellParameterId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ChannelNumber(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().ChannelNumber()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LocationAreaCode(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().LocationAreaCode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PathLossInDB(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().PathLossInDB()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ProviderId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProviderId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ReceivedSignalCodePowerInDBm(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().ReceivedSignalCodePowerInDBm()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TimingAdvanceInBitPeriods(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().TimingAdvanceInBitPeriods()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CellId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().CellId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ChannelNumber(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().ChannelNumber()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LocationAreaCode(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().LocationAreaCode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PathLossInDB(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().PathLossInDB()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PrimaryScramblingCode(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().PrimaryScramblingCode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ProviderId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProviderId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ReceivedSignalCodePowerInDBm(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().ReceivedSignalCodePowerInDBm()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SignalToNoiseRatioInDB(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().SignalToNoiseRatioInDB()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_NeighboringCellsCdma(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().NeighboringCellsCdma()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NeighboringCellsGsm(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().NeighboringCellsGsm()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NeighboringCellsLte(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().NeighboringCellsLte()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NeighboringCellsTdscdma(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().NeighboringCellsTdscdma()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NeighboringCellsUmts(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().NeighboringCellsUmts()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ServingCellsCdma(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().ServingCellsCdma()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ServingCellsGsm(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().ServingCellsGsm()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ServingCellsLte(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().ServingCellsLte()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ServingCellsTdscdma(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().ServingCellsTdscdma()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ServingCellsUmts(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().ServingCellsUmts()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_NeighboringCellsNR(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().NeighboringCellsNR()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ServingCellsNR(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().ServingCellsNR()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CurrentSlotIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CurrentSlotIndex()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_NetworkDeviceStatus(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NetworkDeviceStatus()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Manufacturer(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Manufacturer()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Model(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Model()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirmwareInformation(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirmwareInformation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CellularClass(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CellularClass()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DataClasses(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DataClasses()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CustomDataClass(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CustomDataClass()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MobileEquipmentId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MobileEquipmentId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TelephoneNumbers(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().TelephoneNumbers()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SubscriberId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SubscriberId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SimIccId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SimIccId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DeviceType(int32_t* pDeviceType) noexcept final try { typename D::abi_guard guard(this->shim()); *pDeviceType = detach_from(this->shim().DeviceType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DeviceId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DeviceId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CurrentRadioState(int32_t* pCurrentState) noexcept final try { typename D::abi_guard guard(this->shim()); *pCurrentState = detach_from(this->shim().CurrentRadioState()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PinManager(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PinManager()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Revision(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Revision()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SerialNumber(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SerialNumber()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SimSpn(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SimSpn()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SimPnn(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SimPnn()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SimGid1(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SimGid1()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SlotManager(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SlotManager()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DeviceServiceId(winrt::guid* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DeviceServiceId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SupportedCommands(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().SupportedCommands()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OpenDataSession(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OpenDataSession()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OpenCommandSession(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OpenCommandSession()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DeviceId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DeviceId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DeviceServiceId(winrt::guid* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DeviceServiceId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EventId(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EventId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ReceivedData(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ReceivedData()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_StatusCode(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StatusCode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ResponseData(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ResponseData()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall SendQueryCommandAsync(uint32_t commandId, void* data, void** asyncInfo) noexcept final try { clear_abi(asyncInfo); typename D::abi_guard guard(this->shim()); *asyncInfo = detach_from>(this->shim().SendQueryCommandAsync(commandId, *reinterpret_cast(&data))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SendSetCommandAsync(uint32_t commandId, void* data, void** asyncInfo) noexcept final try { clear_abi(asyncInfo); typename D::abi_guard guard(this->shim()); *asyncInfo = detach_from>(this->shim().SendSetCommandAsync(commandId, *reinterpret_cast(&data))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CloseSession() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CloseSession(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall add_CommandReceived(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().CommandReceived(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_CommandReceived(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().CommandReceived(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ReceivedData(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ReceivedData()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall WriteDataAsync(void* value, void** asyncInfo) noexcept final try { clear_abi(asyncInfo); typename D::abi_guard guard(this->shim()); *asyncInfo = detach_from(this->shim().WriteDataAsync(*reinterpret_cast(&value))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CloseSession() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CloseSession(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_DataReceived(void* eventHandler, winrt::event_token* eventCookie) noexcept final try { zero_abi(eventCookie); typename D::abi_guard guard(this->shim()); *eventCookie = detach_from(this->shim().DataReceived(*reinterpret_cast const*>(&eventHandler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_DataReceived(winrt::event_token eventCookie) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().DataReceived(*reinterpret_cast(&eventCookie)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DeviceServiceId(winrt::guid* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DeviceServiceId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsDataReadSupported(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsDataReadSupported()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsDataWriteSupported(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsDataWriteSupported()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DeviceId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DeviceId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DeviceServiceId(winrt::guid* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DeviceServiceId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ReceivedData(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ReceivedData()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_EventId(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EventId()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CurrentAccount(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CurrentAccount()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DeviceInformation(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DeviceInformation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxDeviceServiceCommandSizeInBytes(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxDeviceServiceCommandSizeInBytes()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxDeviceServiceDataSizeInBytes(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxDeviceServiceDataSizeInBytes()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DeviceServices(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().DeviceServices()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetDeviceService(winrt::guid deviceServiceId, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GetDeviceService(*reinterpret_cast(&deviceServiceId))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsResetSupported(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsResetSupported()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ResetAsync(void** asyncInfo) noexcept final try { clear_abi(asyncInfo); typename D::abi_guard guard(this->shim()); *asyncInfo = detach_from(this->shim().ResetAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetCurrentConfigurationAsync(void** asyncInfo) noexcept final try { clear_abi(asyncInfo); typename D::abi_guard guard(this->shim()); *asyncInfo = detach_from>(this->shim().GetCurrentConfigurationAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CurrentNetwork(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CurrentNetwork()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall GetIsPassthroughEnabledAsync(void** asyncInfo) noexcept final try { clear_abi(asyncInfo); typename D::abi_guard guard(this->shim()); *asyncInfo = detach_from>(this->shim().GetIsPassthroughEnabledAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetIsPassthroughEnabledAsync(bool value, void** asyncInfo) noexcept final try { clear_abi(asyncInfo); typename D::abi_guard guard(this->shim()); *asyncInfo = detach_from>(this->shim().SetIsPassthroughEnabledAsync(value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall TryGetPcoAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().TryGetPcoAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsInEmergencyCallMode(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsInEmergencyCallMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_IsInEmergencyCallModeChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().IsInEmergencyCallModeChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_IsInEmergencyCallModeChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().IsInEmergencyCallModeChanged(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall SetIsPassthroughEnabledWithSlotIndexAsync(bool value, int32_t slotindex, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().SetIsPassthroughEnabledAsync(value, slotindex)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsPassthroughEnabledWithSlotIndexAsync(int32_t slotindex, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().GetIsPassthroughEnabledAsync(slotindex)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetIsPassthroughEnabledWithSlotIndex(bool value, int32_t slotindex, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().SetIsPassthroughEnabled(value, slotindex)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsPassthroughEnabledWithSlotIndex(int32_t slotindex, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetIsPassthroughEnabled(slotindex)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Uicc(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Uicc()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HomeProviderId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HomeProviderId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HomeProviderName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HomeProviderName()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SarManager(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SarManager()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall AddAllowedHost(void* host) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AddAllowedHost(*reinterpret_cast(&host)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall AddAllowedHostRange(void* first, void* last) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AddAllowedHostRange(*reinterpret_cast(&first), *reinterpret_cast(&last)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ApplyConfigurationAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from(this->shim().ApplyConfigurationAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ClearConfigurationAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from(this->shim().ClearConfigurationAsync()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Create(void* modemDeviceId, void* ruleGroupId, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Create(*reinterpret_cast(&modemDeviceId), *reinterpret_cast(&ruleGroupId))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall GetDeviceSelector(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GetDeviceSelector()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall FromId(void* deviceId, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FromId(*reinterpret_cast(&deviceId))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetDefault(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GetDefault()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_NetworkAdapter(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NetworkAdapter()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NetworkRegistrationState(int32_t* registrationState) noexcept final try { typename D::abi_guard guard(this->shim()); *registrationState = detach_from(this->shim().NetworkRegistrationState()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RegistrationNetworkError(uint32_t* networkError) noexcept final try { typename D::abi_guard guard(this->shim()); *networkError = detach_from(this->shim().RegistrationNetworkError()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PacketAttachNetworkError(uint32_t* networkError) noexcept final try { typename D::abi_guard guard(this->shim()); *networkError = detach_from(this->shim().PacketAttachNetworkError()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ActivationNetworkError(uint32_t* networkError) noexcept final try { typename D::abi_guard guard(this->shim()); *networkError = detach_from(this->shim().ActivationNetworkError()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AccessPointName(void** apn) noexcept final try { clear_abi(apn); typename D::abi_guard guard(this->shim()); *apn = detach_from(this->shim().AccessPointName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RegisteredDataClass(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RegisteredDataClass()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RegisteredProviderId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RegisteredProviderId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RegisteredProviderName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RegisteredProviderName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ShowConnectionUI() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ShowConnectionUI(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall GetVoiceCallSupportAsync(void** asyncInfo) noexcept final try { clear_abi(asyncInfo); typename D::abi_guard guard(this->shim()); *asyncInfo = detach_from>(this->shim().GetVoiceCallSupportAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RegistrationUiccApps(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().RegistrationUiccApps()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall GetCellsInfoAsync(void** asyncOperation) noexcept final try { clear_abi(asyncOperation); typename D::abi_guard guard(this->shim()); *asyncOperation = detach_from>(this->shim().GetCellsInfoAsync()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DeviceId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DeviceId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Network(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Network()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_NetworkRegistrationStateChanges(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().NetworkRegistrationStateChanges()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Data(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Data()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsComplete(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsComplete()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DeviceId(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().DeviceId()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_UpdatedData(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().UpdatedData()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Type(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Type()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LockState(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LockState()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Format(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Format()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Enabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Enabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxLength(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxLength()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinLength(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinLength()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AttemptsRemaining(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AttemptsRemaining()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall EnableAsync(void* currentPin, void** asyncInfo) noexcept final try { clear_abi(asyncInfo); typename D::abi_guard guard(this->shim()); *asyncInfo = detach_from>(this->shim().EnableAsync(*reinterpret_cast(¤tPin))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall DisableAsync(void* currentPin, void** asyncInfo) noexcept final try { clear_abi(asyncInfo); typename D::abi_guard guard(this->shim()); *asyncInfo = detach_from>(this->shim().DisableAsync(*reinterpret_cast(¤tPin))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall EnterAsync(void* currentPin, void** asyncInfo) noexcept final try { clear_abi(asyncInfo); typename D::abi_guard guard(this->shim()); *asyncInfo = detach_from>(this->shim().EnterAsync(*reinterpret_cast(¤tPin))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ChangeAsync(void* currentPin, void* newPin, void** asyncInfo) noexcept final try { clear_abi(asyncInfo); typename D::abi_guard guard(this->shim()); *asyncInfo = detach_from>(this->shim().ChangeAsync(*reinterpret_cast(¤tPin), *reinterpret_cast(&newPin))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall UnblockAsync(void* pinUnblockKey, void* newPin, void** asyncInfo) noexcept final try { clear_abi(asyncInfo); typename D::abi_guard guard(this->shim()); *asyncInfo = detach_from>(this->shim().UnblockAsync(*reinterpret_cast(&pinUnblockKey), *reinterpret_cast(&newPin))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DeviceId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DeviceId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PinType(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PinType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PinLockState(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PinLockState()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PinLockStateChanges(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().PinLockStateChanges()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SupportedPins(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().SupportedPins()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetPin(int32_t pinType, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GetPin(*reinterpret_cast(&pinType))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsSuccessful(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSuccessful()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AttemptsRemaining(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AttemptsRemaining()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DeviceId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DeviceId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RadioState(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RadioState()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_RadioStateChanges(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().RadioStateChanges()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsBackoffEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsBackoffEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsWiFiHardwareIntegrated(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsWiFiHardwareIntegrated()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSarControlledByHardware(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSarControlledByHardware()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Antennas(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Antennas()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HysteresisTimerPeriod(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HysteresisTimerPeriod()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_TransmissionStateChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TransmissionStateChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TransmissionStateChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TransmissionStateChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall EnableBackoffAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from(this->shim().EnableBackoffAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall DisableBackoffAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from(this->shim().DisableBackoffAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetConfigurationAsync(void* antennas, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from(this->shim().SetConfigurationAsync(*reinterpret_cast const*>(&antennas))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RevertSarToHardwareControlAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from(this->shim().RevertSarToHardwareControlAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetTransmissionStateChangedHysteresisAsync(int64_t timerPeriod, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from(this->shim().SetTransmissionStateChangedHysteresisAsync(*reinterpret_cast(&timerPeriod))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsTransmittingAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().GetIsTransmittingAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall StartTransmissionStateMonitoring() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StartTransmissionStateMonitoring(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall StopTransmissionStateMonitoring() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StopTransmissionStateMonitoring(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Index(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Index()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_State(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().State()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IccId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IccId()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SlotInfo(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SlotInfo()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SlotInfos(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().SlotInfos()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CurrentSlotIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CurrentSlotIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetCurrentSlot(int32_t slotIndex, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().SetCurrentSlot(slotIndex)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetCurrentSlotAsync(int32_t slotIndex, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().SetCurrentSlotAsync(slotIndex)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_SlotInfoChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().SlotInfoChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_SlotInfoChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().SlotInfoChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_CurrentSlotIndexChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().CurrentSlotIndexChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_CurrentSlotIndexChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().CurrentSlotIndexChanged(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsTransmitting(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTransmitting()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SimIccId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SimIccId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetUiccAppsAsync(void** asyncInfo) noexcept final try { clear_abi(asyncInfo); typename D::abi_guard guard(this->shim()); *asyncInfo = detach_from>(this->shim().GetUiccAppsAsync()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Id(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Id()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Kind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Kind()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetRecordDetailsAsync(void* uiccFilePath, void** asyncInfo) noexcept final try { clear_abi(asyncInfo); typename D::abi_guard guard(this->shim()); *asyncInfo = detach_from>(this->shim().GetRecordDetailsAsync(*reinterpret_cast const*>(&uiccFilePath))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ReadRecordAsync(void* uiccFilePath, int32_t recordIndex, void** asyncInfo) noexcept final try { clear_abi(asyncInfo); typename D::abi_guard guard(this->shim()); *asyncInfo = detach_from>(this->shim().ReadRecordAsync(*reinterpret_cast const*>(&uiccFilePath), recordIndex)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Status(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Status()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Data(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Data()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Status(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Status()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Kind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Kind()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RecordCount(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RecordCount()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RecordSize(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RecordSize()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ReadAccessCondition(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ReadAccessCondition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_WriteAccessCondition(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().WriteAccessCondition()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Status(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Status()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_UiccApps(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().UiccApps()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_NotificationKind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NotificationKind()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_NotificationType(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NotificationType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NetworkAccountId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NetworkAccountId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EncodingType(uint8_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EncodingType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Message(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Message()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RuleId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RuleId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SmsMessage(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SmsMessage()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Ssid(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Ssid()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Ssid(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Ssid(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Passphrase(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Passphrase()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Passphrase(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Passphrase(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall IsBandSupported(int32_t band, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsBandSupported(*reinterpret_cast(&band))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsBandSupportedAsync(int32_t band, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().IsBandSupportedAsync(*reinterpret_cast(&band))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Band(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Band()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Band(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Band(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall IsAuthenticationKindSupported(int32_t authenticationKind, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsAuthenticationKindSupported(*reinterpret_cast(&authenticationKind))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsAuthenticationKindSupportedAsync(int32_t authenticationKind, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().IsAuthenticationKindSupportedAsync(*reinterpret_cast(&authenticationKind))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AuthenticationKind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AuthenticationKind()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AuthenticationKind(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AuthenticationKind(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MacAddress(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MacAddress()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HostNames(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().HostNames()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall GetTetheringClients(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().GetTetheringClients()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall AuthorizeTethering(bool allow, void* entitlementFailureReason) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AuthorizeTethering(allow, *reinterpret_cast(&entitlementFailureReason)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MaxClientCount(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxClientCount()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ClientCount(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ClientCount()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TetheringOperationalState(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TetheringOperationalState()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetCurrentAccessPointConfiguration(void** configuration) noexcept final try { clear_abi(configuration); typename D::abi_guard guard(this->shim()); *configuration = detach_from(this->shim().GetCurrentAccessPointConfiguration()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ConfigureAccessPointAsync(void* configuration, void** asyncInfo) noexcept final try { clear_abi(asyncInfo); typename D::abi_guard guard(this->shim()); *asyncInfo = detach_from(this->shim().ConfigureAccessPointAsync(*reinterpret_cast(&configuration))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall StartTetheringAsync(void** asyncInfo) noexcept final try { clear_abi(asyncInfo); typename D::abi_guard guard(this->shim()); *asyncInfo = detach_from>(this->shim().StartTetheringAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall StopTetheringAsync(void** asyncInfo) noexcept final try { clear_abi(asyncInfo); typename D::abi_guard guard(this->shim()); *asyncInfo = detach_from>(this->shim().StopTetheringAsync()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall StartTetheringAsync(void* configuration, void** asyncInfo) noexcept final try { clear_abi(asyncInfo); typename D::abi_guard guard(this->shim()); *asyncInfo = detach_from>(this->shim().StartTetheringAsync(*reinterpret_cast(&configuration))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall GetTetheringCapability(void* networkAccountId, int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GetTetheringCapability(*reinterpret_cast(&networkAccountId))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFromNetworkAccountId(void* networkAccountId, void** ppManager) noexcept final try { clear_abi(ppManager); typename D::abi_guard guard(this->shim()); *ppManager = detach_from(this->shim().CreateFromNetworkAccountId(*reinterpret_cast(&networkAccountId))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall GetTetheringCapabilityFromConnectionProfile(void* profile, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetTetheringCapabilityFromConnectionProfile(*reinterpret_cast(&profile))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFromConnectionProfile(void* profile, void** ppManager) noexcept final try { clear_abi(ppManager); typename D::abi_guard guard(this->shim()); *ppManager = detach_from(this->shim().CreateFromConnectionProfile(*reinterpret_cast(&profile))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateFromConnectionProfileWithTargetAdapter(void* profile, void* adapter, void** ppManager) noexcept final try { clear_abi(ppManager); typename D::abi_guard guard(this->shim()); *ppManager = detach_from(this->shim().CreateFromConnectionProfile(*reinterpret_cast(&profile), *reinterpret_cast(&adapter))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall IsNoConnectionsTimeoutEnabled(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsNoConnectionsTimeoutEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall EnableNoConnectionsTimeout() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().EnableNoConnectionsTimeout(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall EnableNoConnectionsTimeoutAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from(this->shim().EnableNoConnectionsTimeoutAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall DisableNoConnectionsTimeout() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DisableNoConnectionsTimeout(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall DisableNoConnectionsTimeoutAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from(this->shim().DisableNoConnectionsTimeoutAsync()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Status(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Status()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AdditionalErrorMessage(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AdditionalErrorMessage()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Ssid(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Ssid()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Ssid(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Ssid(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Passphrase(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Passphrase()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Passphrase(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Passphrase(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsBandSupported(int32_t band, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsBandSupported(*reinterpret_cast(&band))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsBandSupportedAsync(int32_t band, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().IsBandSupportedAsync(*reinterpret_cast(&band))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Band(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Band()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Band(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Band(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsAuthenticationKindSupported(int32_t authenticationKind, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsAuthenticationKindSupported(*reinterpret_cast(&authenticationKind))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsAuthenticationKindSupportedAsync(int32_t authenticationKind, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().IsAuthenticationKindSupportedAsync(*reinterpret_cast(&authenticationKind))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AuthenticationKind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AuthenticationKind()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AuthenticationKind(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AuthenticationKind(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PerformancePriority(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PerformancePriority()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PerformancePriority(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PerformancePriority(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AllElementsProvisioned(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AllElementsProvisioned()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ProvisionResultsXml(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProvisionResultsXml()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall UpdateCost(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().UpdateCost(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall UpdateUsage(struct struct_Windows_Networking_NetworkOperators_ProfileUsage value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().UpdateUsage(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall ProvisionFromXmlDocumentAsync(void* provisioningXmlDocument, void** asyncInfo) noexcept final try { clear_abi(asyncInfo); typename D::abi_guard guard(this->shim()); *asyncInfo = detach_from>(this->shim().ProvisionFromXmlDocumentAsync(*reinterpret_cast(&provisioningXmlDocument))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetProvisionedProfile(int32_t mediaType, void* profileName, void** provisionedProfile) noexcept final try { clear_abi(provisionedProfile); typename D::abi_guard guard(this->shim()); *provisionedProfile = detach_from(this->shim().GetProvisionedProfile(*reinterpret_cast(&mediaType), *reinterpret_cast(&profileName))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateFromNetworkAccountId(void* networkAccountId, void** provisioningAgent) noexcept final try { clear_abi(provisioningAgent); typename D::abi_guard guard(this->shim()); *provisioningAgent = detach_from(this->shim().CreateFromNetworkAccountId(*reinterpret_cast(&networkAccountId))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_NetworkAccountId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NetworkAccountId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall AllowTethering() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AllowTethering(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall DenyTethering(void* entitlementFailureReason) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DenyTethering(*reinterpret_cast(&entitlementFailureReason)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DataCodingScheme(uint8_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DataCodingScheme()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DataCodingScheme(uint8_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DataCodingScheme(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetPayload(uint32_t* __valueSize, uint8_t** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); std::tie(*__valueSize, *value) = detach_abi(this->shim().GetPayload()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetPayload(uint32_t __valueSize, uint8_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetPayload(array_view(reinterpret_cast(value), reinterpret_cast(value) + __valueSize)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PayloadAsText(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PayloadAsText()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PayloadAsText(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PayloadAsText(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateMessage(void* messageText, void** ussdMessage) noexcept final try { clear_abi(ussdMessage); typename D::abi_guard guard(this->shim()); *ussdMessage = detach_from(this->shim().CreateMessage(*reinterpret_cast(&messageText))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ResultCode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ResultCode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Message(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Message()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall SendMessageAndGetReplyAsync(void* message, void** asyncInfo) noexcept final try { clear_abi(asyncInfo); typename D::abi_guard guard(this->shim()); *asyncInfo = detach_from>(this->shim().SendMessageAndGetReplyAsync(*reinterpret_cast(&message))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Close() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Close(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateFromNetworkAccountId(void* networkAccountId, void** ussdSession) noexcept final try { clear_abi(ussdSession); typename D::abi_guard guard(this->shim()); *ussdSession = detach_from(this->shim().CreateFromNetworkAccountId(*reinterpret_cast(&networkAccountId))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFromNetworkInterfaceId(void* networkInterfaceId, void** ussdSession) noexcept final try { clear_abi(ussdSession); typename D::abi_guard guard(this->shim()); *ussdSession = detach_from(this->shim().CreateFromNetworkInterfaceId(*reinterpret_cast(&networkInterfaceId))); return 0; } catch (...) { return to_hresult(); } }; #endif } WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators { constexpr auto operator|(DataClasses const left, DataClasses const right) noexcept { return static_cast(impl::to_underlying_type(left) | impl::to_underlying_type(right)); } constexpr auto operator|=(DataClasses& left, DataClasses const right) noexcept { left = left | right; return left; } constexpr auto operator&(DataClasses const left, DataClasses const right) noexcept { return static_cast(impl::to_underlying_type(left) & impl::to_underlying_type(right)); } constexpr auto operator&=(DataClasses& left, DataClasses const right) noexcept { left = left & right; return left; } constexpr auto operator~(DataClasses const value) noexcept { return static_cast(~impl::to_underlying_type(value)); } constexpr auto operator^(DataClasses const left, DataClasses const right) noexcept { return static_cast(impl::to_underlying_type(left) ^ impl::to_underlying_type(right)); } constexpr auto operator^=(DataClasses& left, DataClasses const right) noexcept { left = left ^ right; return left; } inline auto ESimManager::ServiceInfo() { return impl::call_factory_cast([](IESimManagerStatics const& f) { return f.ServiceInfo(); }); } inline auto ESimManager::TryCreateESimWatcher() { return impl::call_factory_cast([](IESimManagerStatics const& f) { return f.TryCreateESimWatcher(); }); } inline auto ESimManager::ServiceInfoChanged(winrt::Windows::Foundation::EventHandler const& handler) { return impl::call_factory([&](IESimManagerStatics const& f) { return f.ServiceInfoChanged(handler); }); } inline auto ESimManager::ServiceInfoChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); return ESimManager::ServiceInfoChanged_revoker{ f, f.ServiceInfoChanged(handler) }; } inline auto ESimManager::ServiceInfoChanged(winrt::event_token const& token) { impl::call_factory([&](IESimManagerStatics const& f) { return f.ServiceInfoChanged(token); }); } inline auto HotspotAuthenticationContext::TryGetAuthenticationContext(param::hstring const& evenToken, winrt::Windows::Networking::NetworkOperators::HotspotAuthenticationContext& context) { return impl::call_factory([&](IHotspotAuthenticationContextStatics const& f) { return f.TryGetAuthenticationContext(evenToken, context); }); } inline auto KnownCSimFilePaths::EFSpn() { return impl::call_factory_cast(*)(IKnownCSimFilePathsStatics const&), KnownCSimFilePaths, IKnownCSimFilePathsStatics>([](IKnownCSimFilePathsStatics const& f) { return f.EFSpn(); }); } inline auto KnownCSimFilePaths::Gid1() { return impl::call_factory_cast(*)(IKnownCSimFilePathsStatics const&), KnownCSimFilePaths, IKnownCSimFilePathsStatics>([](IKnownCSimFilePathsStatics const& f) { return f.Gid1(); }); } inline auto KnownCSimFilePaths::Gid2() { return impl::call_factory_cast(*)(IKnownCSimFilePathsStatics const&), KnownCSimFilePaths, IKnownCSimFilePathsStatics>([](IKnownCSimFilePathsStatics const& f) { return f.Gid2(); }); } inline auto KnownRuimFilePaths::EFSpn() { return impl::call_factory_cast(*)(IKnownRuimFilePathsStatics const&), KnownRuimFilePaths, IKnownRuimFilePathsStatics>([](IKnownRuimFilePathsStatics const& f) { return f.EFSpn(); }); } inline auto KnownRuimFilePaths::Gid1() { return impl::call_factory_cast(*)(IKnownRuimFilePathsStatics const&), KnownRuimFilePaths, IKnownRuimFilePathsStatics>([](IKnownRuimFilePathsStatics const& f) { return f.Gid1(); }); } inline auto KnownRuimFilePaths::Gid2() { return impl::call_factory_cast(*)(IKnownRuimFilePathsStatics const&), KnownRuimFilePaths, IKnownRuimFilePathsStatics>([](IKnownRuimFilePathsStatics const& f) { return f.Gid2(); }); } inline auto KnownSimFilePaths::EFOns() { return impl::call_factory_cast(*)(IKnownSimFilePathsStatics const&), KnownSimFilePaths, IKnownSimFilePathsStatics>([](IKnownSimFilePathsStatics const& f) { return f.EFOns(); }); } inline auto KnownSimFilePaths::EFSpn() { return impl::call_factory_cast(*)(IKnownSimFilePathsStatics const&), KnownSimFilePaths, IKnownSimFilePathsStatics>([](IKnownSimFilePathsStatics const& f) { return f.EFSpn(); }); } inline auto KnownSimFilePaths::Gid1() { return impl::call_factory_cast(*)(IKnownSimFilePathsStatics const&), KnownSimFilePaths, IKnownSimFilePathsStatics>([](IKnownSimFilePathsStatics const& f) { return f.Gid1(); }); } inline auto KnownSimFilePaths::Gid2() { return impl::call_factory_cast(*)(IKnownSimFilePathsStatics const&), KnownSimFilePaths, IKnownSimFilePathsStatics>([](IKnownSimFilePathsStatics const& f) { return f.Gid2(); }); } inline auto KnownUSimFilePaths::EFSpn() { return impl::call_factory_cast(*)(IKnownUSimFilePathsStatics const&), KnownUSimFilePaths, IKnownUSimFilePathsStatics>([](IKnownUSimFilePathsStatics const& f) { return f.EFSpn(); }); } inline auto KnownUSimFilePaths::EFOpl() { return impl::call_factory_cast(*)(IKnownUSimFilePathsStatics const&), KnownUSimFilePaths, IKnownUSimFilePathsStatics>([](IKnownUSimFilePathsStatics const& f) { return f.EFOpl(); }); } inline auto KnownUSimFilePaths::EFPnn() { return impl::call_factory_cast(*)(IKnownUSimFilePathsStatics const&), KnownUSimFilePaths, IKnownUSimFilePathsStatics>([](IKnownUSimFilePathsStatics const& f) { return f.EFPnn(); }); } inline auto KnownUSimFilePaths::Gid1() { return impl::call_factory_cast(*)(IKnownUSimFilePathsStatics const&), KnownUSimFilePaths, IKnownUSimFilePathsStatics>([](IKnownUSimFilePathsStatics const& f) { return f.Gid1(); }); } inline auto KnownUSimFilePaths::Gid2() { return impl::call_factory_cast(*)(IKnownUSimFilePathsStatics const&), KnownUSimFilePaths, IKnownUSimFilePathsStatics>([](IKnownUSimFilePathsStatics const& f) { return f.Gid2(); }); } inline auto MobileBroadbandAccount::AvailableNetworkAccountIds() { return impl::call_factory_cast(*)(IMobileBroadbandAccountStatics const&), MobileBroadbandAccount, IMobileBroadbandAccountStatics>([](IMobileBroadbandAccountStatics const& f) { return f.AvailableNetworkAccountIds(); }); } inline auto MobileBroadbandAccount::CreateFromNetworkAccountId(param::hstring const& networkAccountId) { return impl::call_factory([&](IMobileBroadbandAccountStatics const& f) { return f.CreateFromNetworkAccountId(networkAccountId); }); } inline MobileBroadbandAccountWatcher::MobileBroadbandAccountWatcher() : MobileBroadbandAccountWatcher(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MobileBroadbandAntennaSar::MobileBroadbandAntennaSar(int32_t antennaIndex, int32_t sarBackoffIndex) : MobileBroadbandAntennaSar(impl::call_factory([&](IMobileBroadbandAntennaSarFactory const& f) { return f.CreateWithIndex(antennaIndex, sarBackoffIndex); })) { } inline auto MobileBroadbandModem::GetDeviceSelector() { return impl::call_factory_cast([](IMobileBroadbandModemStatics const& f) { return f.GetDeviceSelector(); }); } inline auto MobileBroadbandModem::FromId(param::hstring const& deviceId) { return impl::call_factory([&](IMobileBroadbandModemStatics const& f) { return f.FromId(deviceId); }); } inline auto MobileBroadbandModem::GetDefault() { return impl::call_factory_cast([](IMobileBroadbandModemStatics const& f) { return f.GetDefault(); }); } inline MobileBroadbandModemIsolation::MobileBroadbandModemIsolation(param::hstring const& modemDeviceId, param::hstring const& ruleGroupId) : MobileBroadbandModemIsolation(impl::call_factory([&](IMobileBroadbandModemIsolationFactory const& f) { return f.Create(modemDeviceId, ruleGroupId); })) { } inline NetworkOperatorTetheringAccessPointConfiguration::NetworkOperatorTetheringAccessPointConfiguration() : NetworkOperatorTetheringAccessPointConfiguration(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto NetworkOperatorTetheringManager::GetTetheringCapability(param::hstring const& networkAccountId) { return impl::call_factory([&](INetworkOperatorTetheringManagerStatics const& f) { return f.GetTetheringCapability(networkAccountId); }); } inline auto NetworkOperatorTetheringManager::CreateFromNetworkAccountId(param::hstring const& networkAccountId) { return impl::call_factory([&](INetworkOperatorTetheringManagerStatics const& f) { return f.CreateFromNetworkAccountId(networkAccountId); }); } inline auto NetworkOperatorTetheringManager::GetTetheringCapabilityFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile) { return impl::call_factory([&](INetworkOperatorTetheringManagerStatics2 const& f) { return f.GetTetheringCapabilityFromConnectionProfile(profile); }); } inline auto NetworkOperatorTetheringManager::CreateFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile) { return impl::call_factory([&](INetworkOperatorTetheringManagerStatics2 const& f) { return f.CreateFromConnectionProfile(profile); }); } inline auto NetworkOperatorTetheringManager::CreateFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) { return impl::call_factory([&](INetworkOperatorTetheringManagerStatics3 const& f) { return f.CreateFromConnectionProfile(profile, adapter); }); } inline auto NetworkOperatorTetheringManager::IsNoConnectionsTimeoutEnabled() { return impl::call_factory_cast([](INetworkOperatorTetheringManagerStatics4 const& f) { return f.IsNoConnectionsTimeoutEnabled(); }); } inline auto NetworkOperatorTetheringManager::EnableNoConnectionsTimeout() { impl::call_factory_cast([](INetworkOperatorTetheringManagerStatics4 const& f) { return f.EnableNoConnectionsTimeout(); }); } inline auto NetworkOperatorTetheringManager::EnableNoConnectionsTimeoutAsync() { return impl::call_factory_cast([](INetworkOperatorTetheringManagerStatics4 const& f) { return f.EnableNoConnectionsTimeoutAsync(); }); } inline auto NetworkOperatorTetheringManager::DisableNoConnectionsTimeout() { impl::call_factory_cast([](INetworkOperatorTetheringManagerStatics4 const& f) { return f.DisableNoConnectionsTimeout(); }); } inline auto NetworkOperatorTetheringManager::DisableNoConnectionsTimeoutAsync() { return impl::call_factory_cast([](INetworkOperatorTetheringManagerStatics4 const& f) { return f.DisableNoConnectionsTimeoutAsync(); }); } inline NetworkOperatorTetheringSessionAccessPointConfiguration::NetworkOperatorTetheringSessionAccessPointConfiguration() : NetworkOperatorTetheringSessionAccessPointConfiguration(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline ProvisioningAgent::ProvisioningAgent() : ProvisioningAgent(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto ProvisioningAgent::CreateFromNetworkAccountId(param::hstring const& networkAccountId) { return impl::call_factory([&](IProvisioningAgentStaticMethods const& f) { return f.CreateFromNetworkAccountId(networkAccountId); }); } inline UssdMessage::UssdMessage(param::hstring const& messageText) : UssdMessage(impl::call_factory([&](IUssdMessageFactory const& f) { return f.CreateMessage(messageText); })) { } inline auto UssdSession::CreateFromNetworkAccountId(param::hstring const& networkAccountId) { return impl::call_factory([&](IUssdSessionStatics const& f) { return f.CreateFromNetworkAccountId(networkAccountId); }); } inline auto UssdSession::CreateFromNetworkInterfaceId(param::hstring const& networkInterfaceId) { return impl::call_factory([&](IUssdSessionStatics const& f) { return f.CreateFromNetworkInterfaceId(networkInterfaceId); }); } } namespace std { #ifndef WINRT_LEAN_AND_MEAN template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; #endif #ifdef __cpp_lib_format #endif } #endif