mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 07:36:10 -04:00
Latest update for winrt
PiperOrigin-RevId: 452591835
This commit is contained in:
committed by
Copybara-Service
parent
11558b453c
commit
28da839987
+10
-10
@@ -1,50 +1,50 @@
|
||||
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14
|
||||
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1
|
||||
|
||||
#pragma once
|
||||
#ifndef WINRT_Windows_System_Diagnostics_Telemetry_H
|
||||
#define WINRT_Windows_System_Diagnostics_Telemetry_H
|
||||
#include "winrt/base.h"
|
||||
static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers.");
|
||||
#define CPPWINRT_VERSION "2.0.210930.14"
|
||||
static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers.");
|
||||
#define CPPWINRT_VERSION "2.0.220531.1"
|
||||
#include "winrt/Windows.System.Diagnostics.h"
|
||||
#include "winrt/impl/Windows.System.Diagnostics.Telemetry.2.h"
|
||||
namespace winrt::impl
|
||||
{
|
||||
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationResult) consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryClientStatics<D>::Register(param::hstring const& id) const
|
||||
template <typename D> auto consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryClientStatics<D>::Register(param::hstring const& id) const
|
||||
{
|
||||
void* result{};
|
||||
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::Telemetry::IPlatformTelemetryClientStatics)->Register(*(void**)(&id), &result));
|
||||
return winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationResult{ result, take_ownership_from_abi };
|
||||
}
|
||||
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationResult) consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryClientStatics<D>::Register(param::hstring const& id, winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationSettings const& settings) const
|
||||
template <typename D> auto consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryClientStatics<D>::Register(param::hstring const& id, winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationSettings const& settings) const
|
||||
{
|
||||
void* result{};
|
||||
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::Telemetry::IPlatformTelemetryClientStatics)->RegisterWithSettings(*(void**)(&id), *(void**)(&settings), &result));
|
||||
return winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationResult{ result, take_ownership_from_abi };
|
||||
}
|
||||
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationStatus) consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationResult<D>::Status() const
|
||||
template <typename D> auto consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationResult<D>::Status() const
|
||||
{
|
||||
winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationStatus value{};
|
||||
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::Telemetry::IPlatformTelemetryRegistrationResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
|
||||
return value;
|
||||
}
|
||||
template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings<D>::StorageSize() const
|
||||
template <typename D> auto consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings<D>::StorageSize() const
|
||||
{
|
||||
uint32_t value{};
|
||||
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::Telemetry::IPlatformTelemetryRegistrationSettings)->get_StorageSize(&value));
|
||||
return value;
|
||||
}
|
||||
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings<D>::StorageSize(uint32_t value) const
|
||||
template <typename D> auto consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings<D>::StorageSize(uint32_t value) const
|
||||
{
|
||||
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::Telemetry::IPlatformTelemetryRegistrationSettings)->put_StorageSize(value));
|
||||
}
|
||||
template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings<D>::UploadQuotaSize() const
|
||||
template <typename D> auto consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings<D>::UploadQuotaSize() const
|
||||
{
|
||||
uint32_t value{};
|
||||
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::Telemetry::IPlatformTelemetryRegistrationSettings)->get_UploadQuotaSize(&value));
|
||||
return value;
|
||||
}
|
||||
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings<D>::UploadQuotaSize(uint32_t value) const
|
||||
template <typename D> auto consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings<D>::UploadQuotaSize(uint32_t value) const
|
||||
{
|
||||
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::Telemetry::IPlatformTelemetryRegistrationSettings)->put_UploadQuotaSize(value));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user