// C++/WinRT v2.0.250303.1 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #ifndef WINRT_Windows_Perception_0_H #define WINRT_Windows_Perception_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { } WINRT_EXPORT namespace winrt::Windows::Perception { struct IPerceptionTimestamp; struct IPerceptionTimestamp2; struct IPerceptionTimestampHelperStatics; struct IPerceptionTimestampHelperStatics2; struct PerceptionTimestamp; struct PerceptionTimestampHelper; } namespace winrt::impl { template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> inline constexpr auto& name_v = L"Windows.Perception.PerceptionTimestamp"; template <> inline constexpr auto& name_v = L"Windows.Perception.PerceptionTimestampHelper"; template <> inline constexpr auto& name_v = L"Windows.Perception.IPerceptionTimestamp"; template <> inline constexpr auto& name_v = L"Windows.Perception.IPerceptionTimestamp2"; template <> inline constexpr auto& name_v = L"Windows.Perception.IPerceptionTimestampHelperStatics"; template <> inline constexpr auto& name_v = L"Windows.Perception.IPerceptionTimestampHelperStatics2"; template <> inline constexpr guid guid_v{ 0x87C24804,0xA22E,0x4ADB,{ 0xBA,0x26,0xD7,0x8E,0xF6,0x39,0xBC,0xF4 } }; // 87C24804-A22E-4ADB-BA26-D78EF639BCF4 template <> inline constexpr guid guid_v{ 0xE354B7ED,0x2BD1,0x41B7,{ 0x9E,0xD0,0x74,0xA1,0x5C,0x35,0x45,0x37 } }; // E354B7ED-2BD1-41B7-9ED0-74A15C354537 template <> inline constexpr guid guid_v{ 0x47A611D4,0xA9DF,0x4EDC,{ 0x85,0x5D,0xF4,0xD3,0x39,0xD9,0x67,0xAC } }; // 47A611D4-A9DF-4EDC-855D-F4D339D967AC template <> inline constexpr guid guid_v{ 0x73D1A7FE,0x3FB9,0x4571,{ 0x87,0xD4,0x3C,0x92,0x0A,0x5E,0x86,0xEB } }; // 73D1A7FE-3FB9-4571-87D4-3C920A5E86EB template <> struct default_interface{ using type = winrt::Windows::Perception::IPerceptionTimestamp; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_TargetTime(int64_t*) noexcept = 0; virtual int32_t __stdcall get_PredictionAmount(int64_t*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_SystemRelativeTargetTime(int64_t*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall FromHistoricalTargetTime(int64_t, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall FromSystemRelativeTargetTime(int64_t, void**) noexcept = 0; }; }; template struct consume_Windows_Perception_IPerceptionTimestamp { [[nodiscard]] auto TargetTime() const; [[nodiscard]] auto PredictionAmount() const; }; template <> struct consume { template using type = consume_Windows_Perception_IPerceptionTimestamp; }; template struct consume_Windows_Perception_IPerceptionTimestamp2 { [[nodiscard]] auto SystemRelativeTargetTime() const; }; template <> struct consume { template using type = consume_Windows_Perception_IPerceptionTimestamp2; }; template struct consume_Windows_Perception_IPerceptionTimestampHelperStatics { auto FromHistoricalTargetTime(winrt::Windows::Foundation::DateTime const& targetTime) const; }; template <> struct consume { template using type = consume_Windows_Perception_IPerceptionTimestampHelperStatics; }; template struct consume_Windows_Perception_IPerceptionTimestampHelperStatics2 { auto FromSystemRelativeTargetTime(winrt::Windows::Foundation::TimeSpan const& targetTime) const; }; template <> struct consume { template using type = consume_Windows_Perception_IPerceptionTimestampHelperStatics2; }; } #endif